﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace QLNH_SERVER
{
    public class User
    {
        private Socket socket;
        private string userName;

        public Socket getSocket() { return socket; }
        public void setSocket(Socket socket) { this.socket = socket; }

        public string getUserName() { return userName; }
        public void setUserName(string userName) { this.userName = userName; }

        public User(string userName, Socket socket)
        {
            this.userName = userName;
            this.socket = socket;
        }
    }
}
